<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>vue</title>
</head>
<body>
    <div id="app">
        <p>{{name}}</p>
        <input type="text" v-model="name">
        <p>{{name}}</p>
        <button v-on:click="clickHandle">点我</button>
    </div>

    <script type="module">
        import Vue from './_vue/index.js'

        const $vm = new Vue({
          el: '#app',
          data: {
            a: 123,
            name: 'g'
          },
          methods: {
            clickHandle() {
              this.data.name = 'ahsdjakhklsda'
            }
          }
        })
    </script>
</body>
</html>